<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>活动与渠道管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/market/eventChannel/">活动与渠道列表</a></li>
	</ul>

	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>渠道名称</th>
				<th>二维码</th>
				<th>点击数</th>
				<th>参与数</th>
				<th>状态</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${list}" var="eventChannel">
			<tr>
				<td>
					${eventChannel.channel.name}
				</td>
				<td>
					<img src="${eventChannel.qrcode}" width="200px" height="200px" />
				</td>
				<td>
					${eventChannel.clickNum}
				</td>
				<td>
					${eventChannel.joinNum}
				</td>
				<td>
					${fns:getDictLabel(eventChannel.delFlag, 'del_flag', '')}
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</body>
</html>